﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DataAccess;
namespace SQT.tracnghiem.Ajax.ASP.Lesson
{
    public partial class get_examp : System.Web.UI.Page
    {
        public string examp = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = int.Parse(Request.QueryString["id"]);

            var get_examp = new TblLessonController().FetchAll().Where(x => x.LessonId == id).Single();

            examp = get_examp.LessonExam;
        }
    }
}